#ifndef CAMERAINFO_H
#define CAMERAINFO_H
#include <QString>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
#include <QJsonObject>

class CameraInfo
{
public:
    CameraInfo();

private:
    QString     m_strIPAddress;
    QString     m_strMACAddress;
    QString     m_strName;
    QString     m_strCameraIdentifiers;

public:
    void        SetIPAddress(QString value);
    void        SetMACAddress(QString value);
    void        SetName(QString value);
    void        SetCameraIdentifiers(QString value);

    QString     GetName();
    QString     GetIPAddress();
    QString     GetMACAddress();
    QString     GetCameraIdentifiers();


public:
    bool WriteXML(QXmlStreamWriter &writer);
    bool ReadXML(QXmlStreamReader &reader);
};

#endif // CAMERAINFO_H
